<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: ICodec Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">ICodec Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ICodec" -->
<p><code>#include &lt;<a class="el" href="codec_8h_source.html">codec.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ICodec:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classICodec.png" usemap="#ICodec_map" alt=""/>
  <map id="ICodec_map" name="ICodec_map">
<area href="classCAlawCodec.html" alt="CAlawCodec" shape="rect" coords="0,56,86,80"/>
<area href="classCPcmCodec.html" alt="CPcmCodec" shape="rect" coords="96,56,182,80"/>
<area href="classCUlawCodec.html" alt="CUlawCodec" shape="rect" coords="192,56,278,80"/>
</map>
 </div></div>

<p><a href="classICodec-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#aed8e1e0ccf72929eb21888285f6aa0a1">ICodec</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a41ba41b735036228ec6c880bcd8489aa">~ICodec</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceNAudioFormats.html#a3bd6168a4f5f18e84873337a65d3062c">NAudioFormats::ECodec</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a7372c452a54bcf4dfcaab3bb2031c277">getCodecType</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#aa352c902221b6c813033857eae1f1441">convertFromS8ToDouble</a> (int8_t pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#ab33bc0554038c4a16dfa013730f89a64">convertFromDoubleToS8</a> (double pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a9a5757b34cc8008ee89c047f70510364">convertFromU8ToDouble</a> (uint8_t pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a4fbf30da96b9c8ff5677e96eb79c5f69">convertFromDoubleToU8</a> (double pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a932b130f0ea5582384463ea6233852f2">convertFromS16ToDouble</a> (int16_t pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a6afd4b23e8ddfafd5c34286aaf05a935">convertFromDoubleToS16</a> (double pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a132e3e66477b84ac0ae68d02348bcb13">convertFromU16ToDouble</a> (uint16_t pSample)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a19b158526af31b63259ea503b4775bef">convertFromDoubleToU16</a> (double pSample)=0</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#afb61f10f4ef1c620fe71965a8ef5d317">ICodec</a> (const <a class="el" href="classICodec.html">ICodec</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classICodec.html">ICodec</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classICodec.html#a887553006bced6a5060035a8534f92ea">operator=</a> (const <a class="el" href="classICodec.html">ICodec</a> &amp;)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aed8e1e0ccf72929eb21888285f6aa0a1"></a><!-- doxytag: member="ICodec::ICodec" ref="aed8e1e0ccf72929eb21888285f6aa0a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ICodec::ICodec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a41ba41b735036228ec6c880bcd8489aa"></a><!-- doxytag: member="ICodec::~ICodec" ref="a41ba41b735036228ec6c880bcd8489aa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual ICodec::~ICodec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afb61f10f4ef1c620fe71965a8ef5d317"></a><!-- doxytag: member="ICodec::ICodec" ref="afb61f10f4ef1c620fe71965a8ef5d317" args="(const ICodec &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ICodec::ICodec </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classICodec.html">ICodec</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6afd4b23e8ddfafd5c34286aaf05a935"></a><!-- doxytag: member="ICodec::convertFromDoubleToS16" ref="a6afd4b23e8ddfafd5c34286aaf05a935" args="(double pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int16_t ICodec::convertFromDoubleToS16 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a67f2255592c5796386d9fdcf94841768">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#afe96f31534e539d74ba237f426cb5f0b">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a6757a5cf0c9604ac4527c4d682b8b290">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="ab33bc0554038c4a16dfa013730f89a64"></a><!-- doxytag: member="ICodec::convertFromDoubleToS8" ref="ab33bc0554038c4a16dfa013730f89a64" args="(double pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int8_t ICodec::convertFromDoubleToS8 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#acf4e231e5be1ac93e59cd233bbfee617">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a877fc5e4c6eed700f7880a9c10005d33">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#abe9e70e396d1bed456126f3f25da8203">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a19b158526af31b63259ea503b4775bef"></a><!-- doxytag: member="ICodec::convertFromDoubleToU16" ref="a19b158526af31b63259ea503b4775bef" args="(double pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint16_t ICodec::convertFromDoubleToU16 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a058417ef980bf4be07ac68dc52016500">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#af48e907f2ed635f626c38d66dc9ace6e">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a4a41c84ee6ed7d61bbe91f79c9a168d2">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a4fbf30da96b9c8ff5677e96eb79c5f69"></a><!-- doxytag: member="ICodec::convertFromDoubleToU8" ref="a4fbf30da96b9c8ff5677e96eb79c5f69" args="(double pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual uint8_t ICodec::convertFromDoubleToU8 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#aa1dead463361a8d3bd47520e67e719cf">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#aa528dfb31315473013418dca5d05e000">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a4b71b94fa4bddb6d053b8f7bdefa22e9">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a932b130f0ea5582384463ea6233852f2"></a><!-- doxytag: member="ICodec::convertFromS16ToDouble" ref="a932b130f0ea5582384463ea6233852f2" args="(int16_t pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double ICodec::convertFromS16ToDouble </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a4d93208267febdd08f5db7fb5d80f38e">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a856179d6519b685e125a6a8ee2d988d1">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a1d68d18749d3d9e020f6081fe4b3f75f">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="aa352c902221b6c813033857eae1f1441"></a><!-- doxytag: member="ICodec::convertFromS8ToDouble" ref="aa352c902221b6c813033857eae1f1441" args="(int8_t pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double ICodec::convertFromS8ToDouble </td>
          <td>(</td>
          <td class="paramtype">int8_t&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a4c47b48d4efbbff573c6ad02cace7d8e">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a956ff5e1256b4bb4f82ec68835fca20a">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a7671da2bdfb39e84d815cdd069cf910d">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a132e3e66477b84ac0ae68d02348bcb13"></a><!-- doxytag: member="ICodec::convertFromU16ToDouble" ref="a132e3e66477b84ac0ae68d02348bcb13" args="(uint16_t pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double ICodec::convertFromU16ToDouble </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a8ccad6939d51da61d8436a11fb3ac95c">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a60d983c1f797b1dd90522a80a386af44">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a3c7edbdc9ca0e482da44b9f65e4ec1b1">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a9a5757b34cc8008ee89c047f70510364"></a><!-- doxytag: member="ICodec::convertFromU8ToDouble" ref="a9a5757b34cc8008ee89c047f70510364" args="(uint8_t pSample)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double ICodec::convertFromU8ToDouble </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>pSample</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a0a22de681181821b1c95d697ca4f3371">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a68afb835a6af5ec858ae8937be2ba609">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a7f6d5bc792ae7935b03d822a20d04a18">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a7372c452a54bcf4dfcaab3bb2031c277"></a><!-- doxytag: member="ICodec::getCodecType" ref="a7372c452a54bcf4dfcaab3bb2031c277" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceNAudioFormats.html#a3bd6168a4f5f18e84873337a65d3062c">NAudioFormats::ECodec</a> ICodec::getCodecType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classCAlawCodec.html#a84aa64cf912445c0879275e1f373abad">CAlawCodec</a>, <a class="el" href="classCPcmCodec.html#a1d40e77b6fa21cdf51363c4788552a9f">CPcmCodec</a>, and <a class="el" href="classCUlawCodec.html#a8ed0f4a7f9ee13dbda37d6ade2f07a7d">CUlawCodec</a>.</p>

</div>
</div>
<a class="anchor" id="a887553006bced6a5060035a8534f92ea"></a><!-- doxytag: member="ICodec::operator=" ref="a887553006bced6a5060035a8534f92ea" args="(const ICodec &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classICodec.html">ICodec</a>&amp; ICodec::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classICodec.html">ICodec</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="codec_8h_source.html">codec.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:47 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
